let configrole = []

const getconfigrole = (state=configrole,action)=>{

    switch(action.type){
        case 'GETCONFIG':
            return action.configs.role
        default:
            return state;
    }
}

export default getconfigrole;